package com.ly.heart.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 金蝶-收料通知单物流跟踪对象 erp_king_receive_notice_logistics_info
 *
 * @author cxl
 * @date 2024-08-11
 */
@TableName ("erp_king_receive_notice_logistics_info")
@ApiModel (value = "金蝶-收料通知单物流跟踪", description = "金蝶-收料通知单物流跟踪")
@Data
public class KingReceiveNoticeLogisticsEntity{

    /** 主键id */
    @TableId (type = IdType.INPUT)
    private String id;

    /** 收料通知单主表id */
    @ApiModelProperty ("收料通知单主表id")
    @TableField ("receive_notice_id")
    @Excel (name = "收料通知单主表id")
    private String receiveNoticeId;

    /** 物料公司 */
    @ApiModelProperty ("物料公司")
    @TableField ("logistics_company")
    @Excel (name = "物料公司")
    private String logisticsCompany;

    /** 物料单号 */
    @ApiModelProperty ("物料单号")
    @TableField ("logistics_num")
    @Excel (name = "物料单号")
    private String logisticsNum;

    /** 寄件人手机号 */
    @ApiModelProperty ("寄件人手机号")
    @TableField ("sender_phone")
    @Excel (name = "寄件人手机号")
    private String senderPhone;

    /** 起始地点 */
    @ApiModelProperty ("起始地点")
    @TableField ("start_address")
    @Excel (name = "起始地点")
    private String startAddress;

    /** 终止地点 */
    @ApiModelProperty ("终止地点")
    @TableField ("end_address")
    @Excel (name = "终止地点")
    private String endAddress;

    /** 物流状态 */
    @ApiModelProperty ("物流状态")
    @TableField ("logistics_status")
    @Excel (name = "物流状态")
    private String logisticsStatus;

    /** 录入人 */
    @ApiModelProperty ("录入人")
    @TableField ("user_id")
    @Excel (name = "录入人")
    private String userId;

    /** 创建时间 */
    @ApiModelProperty ("创建时间")
    @TableField ("create_time")
    @JsonFormat (pattern = "yyyy-MM-dd")
    @Excel (name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;

    /** 更新时间 */
    @ApiModelProperty ("更新时间")
    @TableField ("change_time")
    @JsonFormat (pattern = "yyyy-MM-dd")
    @Excel (name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date changeTime;

    /** 逻辑删除 */
    @ApiModelProperty ("逻辑删除")
    @TableField ("is_used")
    @Excel (name = "逻辑删除")
    @TableLogic
    private Integer isUsed;


}
